package com.tbi.graphcolouring.io;

import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;

public class FileReader {
	
	public static List<String> read(String filePath) throws IOException{
		Path path = FileSystems.getDefault().getPath("", filePath);
		return Files.readAllLines(path, Charset.defaultCharset() );
	}
}
